//
//  XDCodePopView.h
//  HospitalDoctorEdition
//
//  Created by iCode on 16/7/20.
//  Copyright © 2016年 iCode. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol XDCodePopViewDelegate <NSObject>

//传值方法
- (void)codeImageTap;

@end

@interface XDCodePopView : UIView

//标题
@property (nonatomic, strong) UILabel *titleLabel;

//关闭
@property (nonatomic, strong) UIButton *closeBtn;

//显示
@property (nonatomic, strong) UIButton *confirmBtn;

//验证码输入框
@property (nonatomic, strong) UITextField *textField;

//验证码
@property (nonatomic, strong) UIImageView *codeImageView;

//背景
@property (nonatomic, strong) UIView *backgroundView;

//底部视图
@property (nonatomic, strong) UIView *contentView;

//验证key
@property (nonatomic, strong) NSString *codeKey;

//弹出
- (void)pop;

//隐藏
- (void)dismiss;

//协议
@property (nonatomic, unsafe_unretained) id<XDCodePopViewDelegate> delegate;

@end
